.tab.package-all-tab .tab-wrap a {
    font-size: 1.2rem;
    font-weight: bold;
}

    .tab.package-all-tab .tab-wrap a.active, .tab.package-all-tab .tab-wrap a.current {
        color: #209cff;
    }

.tab.package-all-tab .tab-wrap .owl-item::after {
    content: '｜';
    display: inline-block;
}

.tab.package-all-tab .tab-wrap .owl-item:last-child::after, .tab.package-all-tab .tab-wrap:after, .tab.package-all-tab .tab-container:after {
    display: none;
}

.tab.center-tab.package-all-tab .tab-wrap {
    justify-content: center;
}

.mobile-service-section.bind-container.package-all-content .section-title-area {
    padding: 2rem 0 0 0 !important;
    text-align: center;
}

.package-all-content .mySwiper-mobile-service .mobile-category {
    position: relative;
    background: #fafafa;
    margin-top: .4rem;
    margin-bottom: 1.2rem;
    padding-left: 28px;
    padding-right: 28px;
    left: 0 !important;
    border-radius: 8px;
    overflow-x: auto;
}

.package-all-content .mySwiper-mobile-service .mobile-tab-title {
    align-items: center;
    padding: 0;
    /* justify-content: center; */
}

    .package-all-content .mySwiper-mobile-service .mobile-tab-title li {
        background: #efefef;
        /* width: 45%; */
        text-align: center;
        border: 2px solid #efefef;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        white-space: nowrap;
    }

        .package-all-content .mySwiper-mobile-service .mobile-tab-title li a {
            font-size: 1rem;
            color: #666;
            margin: 0;
            padding: .2rem 1.4rem;
            border-radius: 10px;
            /* border-bottom: 2px solid #d9d9d9; */
            display: block;
        }

            .package-all-content .mySwiper-mobile-service .mobile-tab-title li a:hover {
                background: none;
            }

        .package-all-content .mySwiper-mobile-service .mobile-tab-title li:first-child {
            border-left: 2px solid #efefef;
            border-radius: 10px 0 0 10px;
        }

        .package-all-content .mySwiper-mobile-service .mobile-tab-title li:last-child {
            border-right: 2px solid #efefef;
            border-radius: 0 10px 10px 0;
        }

        .package-all-content .mySwiper-mobile-service .mobile-tab-title li.active a {
            color: #209cff;
            background-color: #fff;
            /* border-bottom: 4px solid #209cff; */
        }

/*.package-all-content .mySwiper-mobile-service .mobile-tab-title li.active a, .package-all-content .mySwiper-mobile-service .mobile-tab-title li:hover a {
            color: #209cff;
            background-color: #fff;*/ /* border-bottom: 4px solid #209cff; */
/*}*/

.package-all-content .compare-table {
    padding: 0;
}

.compare-table {
    padding-bottom: 2.6rem;
}

    .compare-table h2 {
        font-size: 1.6rem;
        font-weight: bold;
        margin-bottom: .6rem;
        text-align: left;
    }

.compare-table-swipe {
    font-size: .9rem;
    margin-left: 15px;
}

    .compare-table-swipe img {
        margin-right: 4px;
        vertical-align: text-top;
    }

.phone-table-content {
    margin-right: 0;
    margin-left: 0;
    display: none;
}

    .phone-table-content.show {
        animation: fadeIn 1s ease forwards;
        display: block;
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }
}

.css-table-th, .css-table-td {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    padding: 0.3rem;
    border: 0;
    text-align: center;
    line-height: 1.4;
}
/* .css-table-td {padding: 1rem;} */

.css-table-block {
    position: relative;
}

.css-table-head {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    pointer-events: none;
    z-index: 1;
}

.css-table-body {
    position: absolute;
    flex-flow: row nowrap;
    display: flex;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    flex-grow: 1;
}

.css-table-col {
    display: flex;
    flex-flow: column nowrap;
    justify-content: left;
    align-items: normal;
    flex-shrink: 0;
    width: 100%;
}

.css-table-head .css-table-col .css-table-th {
    font-size: 14px;
    height: 90px;
    color: #666;
}

.css-table-head .css-table-th::before,
.css-table-head .css-table-td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 100%;
    background-color: #e5e5e5;
    border-bottom: 1px solid rgb(102 102 102 / 50%);
    border-top: 1px solid rgb(102 102 102 / 50%);
    z-index: -1;
}


.css-table-head .css-table-th.eshop-gift::before, .css-table-head .css-table-td.eshop-gift::before {
    background-color: #FBE6DD;
}

.css-table-body .css-table-col .css-table-th, .css-table-body .css-table-col .css-table-td {
    padding-top: 38px;
    padding-bottom: 10px;
    height: 90px;
    justify-content: center;
}

.css-table-body .btn-apply {
    margin: .6rem 0;
    box-shadow: none;
    padding: .4rem 1.6rem;
    cursor: pointer;
}

.compare-table .package-all-select-period {
    color: #209cff;
    border: 0;
    font-weight: bold;
}

.compare-table .owl-theme .owl-nav .nav-circle-right, .compare-table .owl-theme .owl-nav .nav-circle-left {
    display: none;
}

.identity-select-block {
    margin: 1.2rem 0 .8rem 1rem;
}

.identity-select {
    color: #209cff;
    font-weight: 500;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.phone-table-content.hide {
    display: none;
}

.phone-table-content.show {
    animation: fadeIn 1s ease forwards;
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }
}

.card-content-info {
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
}

.css-table-block .card-content-lightbox {
    position: absolute;
    bottom: 0;
    left: -140px;
    z-index: 19;
    display: none;
}

    .card-content-info:hover .card-content-lightbox, .card-content-lightbox:hover {
        display: block;
    }

    .card-content-lightbox .card {
        font-size: 0.7rem;
        padding: .5rem;
        margin-bottom: 25px;
        width: 160px;
        border: 0;
        text-align: left;
        line-height: 1.6;
    }

        .card-content-lightbox .card ul {
            list-style: none;
            margin: 0;
            max-height: 108px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #cecece #f5f5f5;
            scrollbar-gutter: auto;
        }

/* 箭頭按鈕 */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 22px;
    height: 20px;
    /* border-radius: 50%; */
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

    .tab-arrow:disabled {
        opacity: 0;
        cursor: default;
    }

    .tab-arrow.left {
        left: 4px;
    }

    .tab-arrow.right {
        right: 4px;
    }

/* 可滑動區塊（水平 scroll） */
.mobile-tab-title.tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* iOS momentum */
    white-space: nowrap;
    padding: 8px 48px; /* 留出空間給箭頭 */
    scroll-behavior: smooth; /* 支援的瀏覽器會自動平滑 */
    margin: 0 auto;
}

    .mobile-tab-title.tabs::-webkit-scrollbar {
        display: none;
    }
.compare-table .owl-carousel .owl-item span > img {
    width: auto;
}

.package-all-select-period[data-flexible-select] {
    text-align: center;
}

.css-table-head {
    pointer-events: all;
    z-index: auto;
}

    .css-table-head .card-content-info {
        position: absolute;
        right: 8px;
    }

.css-table-body {
    width: 90%;
    right: 0;
    z-index: auto;
}